<template>
  <div id="app">
    <!-- <el-row class="box">
      <el-col :span="8">
        <div class="boxone"></div>
      </el-col>
      <el-col :span="8">
        <div class="boxone"></div>
      </el-col>
      <el-col :span="8">
        <div class="boxone"></div>
      </el-col>
    </el-row> -->

    <!-- 有间隔例子 -->
    <el-row class="box" :gutter="15">
      <el-col :span="8">
        <div class="boxone" ></div>
      </el-col>
      <el-col :span="8">
        <div class="boxone" ></div>
      </el-col>
      <el-col :span="8">
        <div class="boxone" ></div>
      </el-col>
    </el-row>
  </div>
</template>

<script>
import HelloWorld from "./components/HelloWorld.vue";

export default {
  name: "App",
  components: {
    HelloWorld,
  },
};
</script>
<style>
*{
  margin: 0;
  padding: 0;
}

</style>
<style lang="less" scoped>
//局部生效，去掉scoped就是全局
.box {
  width: 500px;
  height: 500px;
}
.boxone {
  background: pink;
  height: 20px;
  width: 100%;
  border: 1px solid red;
}
</style>